﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public class ObjectForBinding
    {
        public string RelationalColumnName { set; get; }
        public string RelationalColumnType { set; get; }

        private Column _AzureCoumn;

        public Column AzureColumn {
            get {
                return _AzureCoumn;
            }
            set {
                _AzureCoumn = value;

                StringBuilder sb=new StringBuilder(value.Name);

                RelationalColumnName = sb.ToString();

                sb = new StringBuilder(value.Type1);

                RelationalColumnType = sb.ToString();
            }
        }
    }
}
